/*
 *  Copyright 2012 Anyware Services
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

.ametys-cms-content .content-illustration
{
	float: none;
	max-width: 100%;
}

.ametys-cms-content .content-illustration img
{
	margin-left: 0;
	border-width: 0;
	max-width: 100%;
}

.ametys-cms-content .content-richtext-end
{
	clear: both;
}

.ametys-cms-content .meta .content-contact,
.ametys-cms-content .meta .content-published-date
{
	text-align: right;
	font-size: 0.9em;
	font-style: italic;
	margin-top: 0;
	margin-bottom: 0;
}

/* Link */
.ametys-cms-content.view-link{
	margin-top: 20px; 
}

.ametys-cms-content.view-link .content-link{ font-size: 2.4em; }

.ametys-cms-content.view-link .content-link a:link,
.ametys-cms-content.view-link .content-link a:visited{
    margin: 0;
    font-weight: 600;
    margin-bottom: 26px;
    font-size: inherit;
    color: #181818!important;
    }

.read-more-zone .ametys-cms-content.view-link .content-link a:link,
.read-more-zone .ametys-cms-content.view-link .content-link a:visited{ color: #ffffff!important; }



/* comments */
.ametys-cms-content .comments-wrapper
{
	border-top-style: solid;
	border-top-width: 1px;	
}

.ametys-cms-content .comments-wrapper ul
{
	margin: 0;
	padding: 0;
	list-style-image: none;
	list-style-type: none;
}
.ametys-cms-content .comments-wrapper ul li
{
	margin: 0;
	padding: 5px;
}
.ametys-cms-content .comments-wrapper ul li.even
{
	background-image: url('../../img/services/even.png');
}
.ametys-cms-content .comments-wrapper ul li.last-comment
{
	border-style: solid;
	border-width: 1px;
}

.ametys-cms-content .comments-wrapper ul li div.comment-content,
.ametys-cms-content .comments-wrapper ul li p.comment-footer
{
	margin-left: 20px;
}

.ametys-cms-content .comments-wrapper ul li div.comment-content p
{
	margin: 0;
}
.ametys-cms-content .comments-wrapper ul li p.comment-header
{
	margin-top: 0;
}
.ametys-cms-content .comments-wrapper ul li p.comment-footer
{
	margin-bottom: 0;
}

.ametys-cms-content .comments-wrapper form
{
	max-width: 405px;
	padding: 5px !important;
	border-style: solid;
	border-width: 1px;
	background-image: url('../../img/services/hover.png');
}

.ametys-cms-content .comments-wrapper form .field .input
{
	text-align: left;
}

.ametys-cms-content .comments-wrapper form .field.checkbox .input input
{
	width: auto !important;
}

.ametys-cms-content .comments-wrapper form .field
{
	margin-bottom: 2px;
}

.ametys-cms-content .image-wrapper .legend
{
	font-style: italic;
}

/** @ CSS2.1 Nested counters for table of contents */
.ametys-cms-content ol.toc,
.ametys-cms-content ol.toc ol {
    counter-reset: section;                
    list-style-type: none;
}

.ametys-cms-content ol.toc ol {
	margin: 0 0 0 2em;
}

.ametys-cms-content ol.toc li:before,
.ametys-cms-content ol.toc ol li:before {
    counter-increment: section;            
    content: counters(section, ".") ". ";  
}

@media screen and (min-width: 768px){
	
	 /* view link */
    .ametys-cms-content.view-link{
        position: relative;
        margin-top: 10px;
    }
    
    .ametys-cms-content.view-link .content-link{
        margin-bottom: 0;
        font-size: 2em;
    	line-height: 1.2em;
    	display: inline;
    	color: #181818;
    }
    .ametys-cms-content.view-link .content-link:after{ content: " "; display: inline-block; width: 5px;  }
    .ametys-cms-content.view-link .content-read-more{ display: inline; }
    
    .ametys-cms-content.view-link .content-read-more a:link,
    .ametys-cms-content.view-link .content-read-more a:visited{
        margin-top: 12px;
    }
    
    .ametys-cms-content.view-link {
/*         padding-bottom: 28px; */
    }
    /* / view link */
    
}

@media screen and (min-width: 1094px) {
	.col-lg-9 .ametys-cms-content.view-abstract .content-illustration img{
		max-width: 320px;
		margin-right: 20px;
		float: left;
	}
	
}